package com.muyu.cloud.commodity.mapper;

import com.muyu.cloud.commodity.domain.model.SpecValue;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SpecValueMapper {
    List<SpecValue> listByGroupId(@Param("groupId") Long groupId);
    List<SpecValue> listByCategoryId(@Param("categoryId") Long categoryId);

    int deleteByGroupId(@Param("groupId") Long groupId);

    int insertList(@Param("list") List<SpecValue> list);
}


